package com.code.day14;

import java.time.LocalDateTime;

public class Day14LocalDate {
    public static void main(String[] args) {
        //获取当前时间
        LocalDateTime now = LocalDateTime.now();
        System.out.println("now = " + now);
        //指定具体时间
        LocalDateTime now1 = LocalDateTime.of(2020, 10, 10, 10, 10, 10);
        System.out.println("now1 = " + now1);
    }
}
